home *** CD-ROM | disk | FTP | other *** search
/ IBM InfoROM for OS/2 Beta 1995 January / IBM InfoROM for OS2 Beta 1-1995.ISO / testcert / mmedia / system / ap2 / scripts / x2____i1.p2s < prev    next >
Encoding:
Text File  |  1994-01-04  |  1.2 KB  |  51 lines

  1. # DESCRIPTION:
  2. # --------------------------------------------------------------
  3. #
  4. # Open CDXA, Test Volume, Close
  5. #
  6. #  NOTE: Each hardware setup may respond with different
  7. #  values for each setting.  This is due to CPU speed,
  8. #  bus speed, and drive speeds.
  9. #
  10. # --------------------------------------------------------------
  11. @BREAK              A CDXA WILL NEED TO BE IN THE DEFAULT CD-ROM DRIVE
  12.  
  13. defaultconnection cdxa make type xa stream to ampmix totype amp stream notify
  14. +MM_MCINOTIFY MCI_NOTIFY_SUCCESSFUL MCI_DEFAULT_CONNECTION #1
  15. @WAIT_NOTIFY 1 30000
  16.  
  17. open cdxa alias cdxa_1 notify
  18. +MM_MCINOTIFY MCI_NOTIFY_SUCCESSFUL MCI_OPEN #2
  19. @WAIT_NOTIFY 2 30000
  20.  
  21. acquire cdxa_1
  22. @WAIT_PASSDEVICE cdxa_1 10000
  23.  
  24. set cdxa_1 audio volume 100 wait
  25. status cdxa_1 volume wait
  26. =100:100
  27.  
  28. set cdxa_1 audio volume 75 wait
  29. status cdxa_1 volume wait
  30. =~75:~75
  31.  
  32. set cdxa_1 audio volume 50 wait
  33. status cdxa_1 volume wait
  34. =~50:~50
  35.  
  36. set cdxa_1 audio volume 25 wait
  37. status cdxa_1 volume wait
  38. =~25:~25
  39.  
  40. set cdxa_1 audio volume 0 wait
  41. status cdxa_1 volume wait
  42. =0:0
  43.  
  44. set cdxa_1 audio volume 100 wait
  45. status cdxa_1 volume wait
  46. =100:100
  47.  
  48. close cdxa_1 notify
  49. +MM_MCINOTIFY MCI_NOTIFY_SUCCESSFUL MCI_CLOSE #3
  50. @WAIT_NOTIFY 3 30000
  51.